<template>
	<view class="">
		<span class="user" v-html="user_protocol"></span>
	</view>
</template>

<script>
	import configs from "@/common/config.js"
	export default {
		data() {
			return {
				user_protocol: ''
			}
		},
		onShow() {
			this.privacy()
		},
		methods: {
			privacy() {
				let that = this
				uni.request({
					url: that.configs.webUrl + 'api/index/privacy',
					success(res) {
						that.user_protocol = res.data.user_protocol
					}
				})
			}
		}
	}
</script>

<style >
	page, view {
		font-size: inherit;
	}
</style>